﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.SharePoint.Utilities;

namespace SharePoint.Contrib
{
    /// <summary>
    /// Utility class for SharePoint
    /// </summary>
    public static class Utility
    {
        /// <summary>
        /// Returns the path to the feature folder in the RootFiles directory
        /// </summary>
        public static string FeaturePath = SPUtility.GetGenericSetupPath(@"TEMPLATE\FEATURES");

        /// <summary>
        /// Returns the path to stsadm in the RootFiles directory
        /// </summary>
        public static string StsAdmPath = SPUtility.GetGenericSetupPath(@"BIN\stsadm.exe");
    }
}
